package org.lisanhu.test;

import org.lisanhu.easy2json.*;

/**
 * Created with IntelliJ IDEA.
 * User: lisanhu
 * Date: 13-8-12
 * Time: 下午4:59
 * To change this template use File | Settings | File Templates.
 */
@ToJson
public class Model {

    @ToJsonField
    public String test = "hello";
    @ToJsonField
    public ModelB b = new ModelB();


    public String pub = "publicModelB";

    @ToJsonField
    private String pri = "privateModelB";

    @ToJsonArray
    private String[] strs = {"a", "b", "c"};

    @ToJsonArray
    private int[] ints = {1, 2, 3, 4};

}
